package com.six.firstpage.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.six.core.entity.Article;

import java.util.List;

/**
* @author ZZH
* @description 针对表【tb_article】的数据库操作Service
* @createDate 2023-02-28 14:45:09
*/
public interface ArticleService extends IService<Article> {

    //根据NavId查询底部链接文章
    Article getArticlByNavId(String navId);

    //查询所有底部链接文章
    List<Article> getAllArticle();

    //添加底部文章内容
    Integer addArticle(Article article);

    //修改底部文章
    Integer updateArticle(Article article);

    //逻辑删除底部文章
    Integer delArticle(Integer id);


}
